package com.wxmp.wxapi.service;

import com.wxmp.core.util.AjaxResult;
import com.wxmp.wxapi.domain.WxpayOrder;
import com.wxmp.wxapi.vo.PayRecord;
import com.wxmp.wxapi.vo.RechargeOrder;
import com.wxmp.wxapi.vo.UnionCardAccount;

import java.util.List;

public interface WxRechargeService {

    UnionCardAccount getCardAccount(String openid);

    AjaxResult bindCard(String openid, String cardNo, String cardOwner);

    List<RechargeOrder> gerRechargeListByPage(RechargeOrder rechargeOrder);

    List<PayRecord> getPayListByPage(PayRecord payRecord);

    String getCardOwnerByCardNo(String cardNo);

    int saveWxPayOrder(WxpayOrder wxpayOrder);

    int updatePayOrderStatus(WxpayOrder wxpayOrder);

    WxpayOrder getPayOrderByPrimaryKey(Long aLong);
}
